package com.office.stacks.center.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.office.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.office.common.annotation.Excel;

/**
 * 任务中心对象 tasks
 *
 * @author 柒月
 * @date 2025-05-27
 */
public class TasksCenter extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 任务标题
     */
    @Excel(name = "任务标题")
    private String title;

    /**
     * 任务描述
     */
    @Excel(name = "任务描述")
    private String description;

    @Excel(name = "发布人")
    private String nickName;

    @Excel(name = "手机号")
    private String phonenumber;

    @Excel(name = "性别0男1女")
    private Integer sex;

    @Excel(name = "部门")
    private String deptName;

    @Excel(name = "岗位")
    private String postName;

    /**
     * 发布人id
     */
    private Long publisherId;

    /**
     * 接收者id
     */
    private Long recipientId;

    /**
     * 任务完成时间
     */
    private Date accomplishTime;

    /**
     * 任务状态(0=代办，1=进行中，2=已完成，3=已打回，4="已取消")
     */
    private Long status;

    /** 文件id*/
    private Long fileId;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 文件url
     */
    private String url;

    /**
     * 原始文件名
     */
    private String originalName;

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setPublisherId(Long publisherId) {
        this.publisherId = publisherId;
    }

    public Long getPublisherId() {
        return publisherId;
    }

    public void setRecipientId(Long recipientId) {
        this.recipientId = recipientId;
    }

    public Long getRecipientId() {
        return recipientId;
    }

    public void setAccomplishTime(Date accomplishTime) {
        this.accomplishTime = accomplishTime;
    }

    public Date getAccomplishTime() {
        return accomplishTime;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}
